import { requestClient } from '#/api/request';
/**
 *  获取列表
 */
export async function payOrderList(params: object = {}) {
  return requestClient.get('/admin/payOrder/index', params);
}
/**
 *  获取详细
 */
export async function payOrderEdit(params: object = {}) {
  return requestClient.get('/admin/payOrder/edit', params);
}

/**
 *  获取详细
 */
export async function payOrderAdd(params: object = {}) {
  return requestClient.post('/admin/payOrder/add', params, { responseReturn: 'raw' })
}

/**
 *  获取更新
 */
export async function payOrderUpdate(params: object = {}) {
  return requestClient.post('/admin/payOrder/edit', params, { responseReturn: 'raw' })
}

/**
 *  审核
 */
export async function payOrderApproval(params: object = {}) {
  return requestClient.post('/admin/payOrder/approval', params, { responseReturn: 'raw' })
}

/**
 *  反审
 */
export async function payOrderAgainst(params: object = {}) {
  return requestClient.post('/admin/payOrder/against', params, { responseReturn: 'raw' })
}

/**
 *  删除
 */
export async function payOrderDel(params: object = {}) {
  return requestClient.post('/admin/payOrder/del', params, { responseReturn: 'raw' })
}

